package com.yinhe.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;

/**
 * 日程对象 yh_calendar
 * 
 * @author yinhe
 * @date 2022-07-27
 */
public class YhCalendar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 日历类型 */
    @Excel(name = "日历类型")
    private String calendarType;

    /** 是否公开 */
    @Excel(name = "是否公开")
    private String isPublic;

    /** 所属组织 */
    @Excel(name = "所属组织")
    private String organization;

    /** 管理者 */
    @Excel(name = "管理者")
    private String governor;

    /** 可见范围 */
    @Excel(name = "可见范围")
    private String visibleRange;

    /** 日程标题 */
    @Excel(name = "日程标题")
    private String scheduleTitle;

    /** 日程内容 */
    @Excel(name = "日程内容")
    private String scheduleContent;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 地点 */
    @Excel(name = "地点")
    private String place;

    /** 提醒 */
    @Excel(name = "提醒")
    private String remind;

    /** 备注1 */
    @Excel(name = "备注1")
    private String note1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String note2;

    /** 备注3 */
    @Excel(name = "备注3")
    private String note3;

    /** 备注4 */
    @Excel(name = "备注4")
    private String note4;

    /** 备注5 */
    @Excel(name = "备注5")
    private String note5;

    /** 备注6 */
    @Excel(name = "备注6")
    private String note6;

    /** 备注7 */
    @Excel(name = "备注7")
    private String note7;

    /** 备注8 */
    @Excel(name = "备注8")
    private String note8;

    /** 备注9 */
    @Excel(name = "备注9")
    private String note9;

    /** 备注10 */
    @Excel(name = "备注10")
    private String note10;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setCalendarType(String calendarType) 
    {
        this.calendarType = calendarType;
    }

    public String getCalendarType() 
    {
        return calendarType;
    }
    public void setIsPublic(String isPublic) 
    {
        this.isPublic = isPublic;
    }

    public String getIsPublic() 
    {
        return isPublic;
    }
    public void setOrganization(String organization) 
    {
        this.organization = organization;
    }

    public String getOrganization() 
    {
        return organization;
    }
    public void setGovernor(String governor) 
    {
        this.governor = governor;
    }

    public String getGovernor() 
    {
        return governor;
    }
    public void setVisibleRange(String visibleRange) 
    {
        this.visibleRange = visibleRange;
    }

    public String getVisibleRange() 
    {
        return visibleRange;
    }
    public void setScheduleTitle(String scheduleTitle) 
    {
        this.scheduleTitle = scheduleTitle;
    }

    public String getScheduleTitle() 
    {
        return scheduleTitle;
    }
    public void setScheduleContent(String scheduleContent) 
    {
        this.scheduleContent = scheduleContent;
    }

    public String getScheduleContent() 
    {
        return scheduleContent;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setRemind(String remind) 
    {
        this.remind = remind;
    }

    public String getRemind() 
    {
        return remind;
    }
    public void setNote1(String note1) 
    {
        this.note1 = note1;
    }

    public String getNote1() 
    {
        return note1;
    }
    public void setNote2(String note2) 
    {
        this.note2 = note2;
    }

    public String getNote2() 
    {
        return note2;
    }
    public void setNote3(String note3) 
    {
        this.note3 = note3;
    }

    public String getNote3() 
    {
        return note3;
    }
    public void setNote4(String note4) 
    {
        this.note4 = note4;
    }

    public String getNote4() 
    {
        return note4;
    }
    public void setNote5(String note5) 
    {
        this.note5 = note5;
    }

    public String getNote5() 
    {
        return note5;
    }
    public void setNote6(String note6) 
    {
        this.note6 = note6;
    }

    public String getNote6() 
    {
        return note6;
    }
    public void setNote7(String note7) 
    {
        this.note7 = note7;
    }

    public String getNote7() 
    {
        return note7;
    }
    public void setNote8(String note8) 
    {
        this.note8 = note8;
    }

    public String getNote8() 
    {
        return note8;
    }
    public void setNote9(String note9) 
    {
        this.note9 = note9;
    }

    public String getNote9() 
    {
        return note9;
    }
    public void setNote10(String note10) 
    {
        this.note10 = note10;
    }

    public String getNote10() 
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("username", getUsername())
            .append("calendarType", getCalendarType())
            .append("isPublic", getIsPublic())
            .append("organization", getOrganization())
            .append("governor", getGovernor())
            .append("visibleRange", getVisibleRange())
            .append("scheduleTitle", getScheduleTitle())
            .append("scheduleContent", getScheduleContent())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("place", getPlace())
            .append("remind", getRemind())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .toString();
    }
}
